POST
/
v1
/
inventory
/
warehouses
/
{id}
/
locations
Create Location
curl --request POST \
  --url https://{client_id}.shipstream.app/api/global/v1/inventory/warehouses/{id}/locations \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "A4-55-C3",
  "priority": 10,
  "is_type_auto": true,
  "lot": {
    "type": "Lot",
    "id": 54
  },
  "product": {
    "type": "Product",
    "id": 123
  },
  "rack": {
    "type": "Rack",
    "id": 123
  },
  "location_type": {
    "type": "LocationType",
    "id": 54
  }
}'
{
  "resource": {
    "type": "<string>",
    "id": 1,
    "warnings": [
      "<string>"
    ]
  },
  "meta": {
    "processing_time": 123
  }
}

Path Parameters

id
integer
required

The id of the referenced Warehouse.

Body

application/json

An object conforming to the Inventory Warehouse Location schema to be created.

A Location describes a user-specified inventory address within a warehouse.

Response

201
application/json

Created - The resource was created successfully.

The response is of type object.